package cn.stylefeng.guns.modular.question.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class questionParam extends BaseParam {

    @NotNull(message = "id不能为空",groups = {edit.class,delete.class})
    private Long id;

    @NotNull(message = "题目不能为空",groups = {add.class,edit.class})
    private String title;

    @NotNull(message = "最大分值不能为空",groups = {add.class,edit.class})
    private String maxScore;

    @NotNull(message = "状态（字典 0正常 1冻结 2删除）不能为空",groups = {add.class,edit.class})
    private Integer status;

}
